package com.javatom.notes.authority.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @description:
 * @author: 曾维录
 * @time: 2019/7/27 15:13
 */
public interface Outh2UserDetailsService extends UserDetailsService {

    UserDetails loadUserByMobile(String mobile) throws UsernameNotFoundException;


}
